<?php

class Welcome extends Controller {

	function Welcome()
	{
		parent::Controller();
                $this->load->library('DX_Auth');
                $this->load->helper('url');
	}
	
	function index()
	{       
                

                if ( ! $this->dx_auth->is_logged_in())
                    {
                        $data['url'] = anchor('auth/login');
                        
                    }

                else $data['url'] = anchor('auth/logout');


                
                $this->load->view('welcome_message',$data);

                 

                    
                
	}
}

/* End of file welcome.php */
/* Location: ./system/application/controllers/welcome.php */